<%@page contentType="text/html;charset=UTF-8"%>
<%@include file="/common/commonTag.jsp"%>
<html>
	<head>
		<title>收信</title>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
		<link rel="stylesheet" href="${path}/css/backsys/ctx.css">
		<link rel="stylesheet" href="${path}/css/backsys/mail.css">
		<link rel="stylesheet" type="text/css" href="${path}/js/util/confirmer/confir.css"/>
		<script type="text/javascript" src="${path}/js/jquery.js"></script>
		<script language="javascript" type="text/javascript" src="${path}/webutil/DateUtil/WdatePicker.js"></script>
		<script type="text/javascript" src="${path}/js/util/confirmer/jquery-impromptu.3.1.min.js"></script>
		<script type="text/javascript" src="${path}/js/backsys/sysutil.js"></script>
		<script type="text/javascript" src="${path}/js/backsys/mail.js"></script>
		
	</head>
	<body>
		<div class="ctx">
			
			<table width="100%">
				<tr>
					<td class="tdhbg">
						<a href="javascript:void(0);">&lt;&lt;返回</a>
						<a href="javascript:void(0);" onclick="readMailList();" class="button"><b>&nbsp;刷新&nbsp;</b></a>
					</td>
				</tr>
				<tr>
					<td>
						<c:forEach var="s" items="${inbox.mailBasicInfo}">
							<c:if test="${param.msgid == s.messageId}">
							<div class="gRead-info bg-cont">
								<div class="mailtit"><h2>${s.messageSubject}</h2></div>
								<div class="mailinfo">
									<div class="item item-time">
										<label class="lb">发件人：</label><div class="cont">${s.messageFrom}</div>
									</div>
									<div class="item item-time">
										<label class="lb">时&nbsp;&nbsp;&nbsp;间：</label><div class="cont">${s.messageDate}</div>
									</div>
									<div class="item item-time">
										<label class="lb">收件人：</label><div class="cont">${s.messageTo}</div>
									</div>
								</div>
							</div>
							
							<div class="gRead-content gReadtext">
								${s.messageContent}
							</div>
							</c:if>
						</c:forEach>
					</td>
				</tr>
				<tr>
					<td class="tdhbg">
						<a href="javascript:void(0);" class="button"><b>&nbsp;删除&nbsp;</b></a>
						<a href="javascript:void(0);" onclick="readMailList();" class="button"><b>&nbsp;刷新&nbsp;</b></a>
					</td>
				</tr>
			</table>
		</div>
	</body>
</html>
